//
// Created by wxd on 2025/9/2.
// 全局光照管理器
//

#pragma once

#ifndef LIGHTMANAGER_H
#define LIGHTMANAGER_H

/*
#include <unordered_map>
#include <string>
#include <mutex>
#include <memory>

#include "../glFramework/light/phong/BaseLight.h"

class LightManager {
public:
    LightManager(const LightManager&) = delete;
    LightManager& operator=(const LightManager&) = delete;

    static LightManager& getInstance() {
        static LightManager instance;
        return instance;
    }

    std::string addLight(const BaseLight& light);
    BaseLight* getLight(const std::string& lightId);
    bool removeLight(const std::string& lightId);
    bool contain(const std::string& lightId);
    void clear();

private:
    LightManager() = default;
    ~LightManager() = default;

    std::mutex m_lock {};
    std::unordered_map<std::string, std::unique_ptr<BaseLight>> m_LightMap {};
};
*/

#endif //LIGHTMANAGER_H
